//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    popShow: true,
    //滚动banner相关
    imgUrls: [
      '../../images/banner.png',
      '../../images/banner.png',
      '../../images/banner.png'
    ],
    indicatorDots: true,
    indicatorColor: 'rgba(255,255,255,.5)',
    indicatorActiveColor: '#fff',
    autoplay: true,
    interval: 5000,
    duration: 1000,

    // 我的健康按钮
    indexSlot: [{
      url: '',
      color: 'purple',
      img: '../../images/phy_exa_icon.png',
      name: '预约体检'
    }, {
      url: '',
      color: 'pink',
      img: '../../images/my_app_icon.png',
      name: '我的预约'
    }, {
      url: '',
      color: 'yellow',
      img: '../../images/report_icon.png',
      name: '体检报告'
    }, {
      url: '',
      color: 'blue',
      img: '../../images/phy_buy_icon.png',
      name: '体检购买'
    }]
  },
  closePop: function(e) {
    this.setData({
      popShow: false,
    })
  }
})